//****************************************************************
//* Copyright (c) 2004 Ford Motor Company. All Rights Reserved.
//*
//* $$Workfile:   PartListFindQuery.java  $$
//* $$Revision:   1.0  $$
//* $$Author:   TMALDON4  $$
//* $$Date:   Dec 22 2008 12:51:22  $$
//*
//*****************************************************************
package ar.com.ford.it.fullEconomics.persistence.dao.query;

import oracle.toplink.expressions.ExpressionBuilder;
import oracle.toplink.queryframework.ReportQuery;
import com.ford.it.persistence.impl.toplink.ReportDefinition;

public class PartListFindQuery implements ReportDefinition {

    public void configureQuery(ReportQuery report, Object[] parameters) {
        ExpressionBuilder builder = report.getExpressionBuilder();

        report.addSum("eesp07UsageQuantityQ", builder.get("eesp07UsageQuantityQ"));
        report.addGrouping(builder.get("ncas101CatalogVw"));
        report.addGrouping(builder.get("teesp01Part"));
    }

}
